home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir40
/
mm43s.zip
/
MM.DOC
< prev
next >
Wrap
Text File
|
1994-08-07
|
5KB
|
149 lines
Memory Map (MM) v4.3S Documentation (Shareware Version)
Copyright (c) 1992-1993 Andrew Powell
Features
────────
■ Displays DOS v5.0+ UMB Usage
■ Displays DOS v4.0+ Sub-Segments
■ Easy to Understand
■ Automatically Pauses Between Pages
■ Reports Total and Free Memory
■ Will Run Under MS-Windows(r)
■ Fast
** Features on Registered Version **
────────────────────────────────────
■ Displays Upper Memory Blocks
■ Displays Device Driver Chain
■ Displays Current Environment
■ Displays Master Environment
■ Displays Location of Master Environment
■ Help Screen
■ Automatic Configuration from Environment
The following documentation is based on this shareware version!!
The Display
───────────
When you run MM without any parameters you get a list of all the
Memory Control Blocks (MCBs) and relevant information. You also get
the amount free memory and whether UMBs are used (even if not
displayed). The top of the display looks like this:
Total DOS Memory xxxK DOS version: m.mm
Free Memory yyyK DOS 5+ UMBs: [Yes/No]
Total DOS Memory
────────────────
The total amount of Low (below 640K) memory. This field is
usually 640K but can be lower on some IBM PS/2 models because
of the Extended BIOS Data Area (EBDA). This is an area of
memory used to store some configuration infomation for the
BIOS. This area can be as little as 1K and usually sits at
the top of memory (This will not show up on the memory list.)
Free Memory
───────────
The largest available memory block, i.e. The largest
executable program size. This is the maximum amount of
memory a program can use. It is usually about 550K, but
with modern memory managers (like 386MAX, QEMM) the
amount of free memory can be about 618K.
DOS Version
───────────
The DOS version currently running. This is cannot be
changed by the DOS 5+ SETVER program.
DOS 5+ UMBs
───────────
Reports whether UMBs are available for use regardless
wether the are displayed.
PSP
───
The Program Segment Prefix (PSP) that owns the MCB.
A PSP is a 256 byte block that contains infomation
about a program in memory.
Size
────
The size in bytes of the area that the MCB controls.
Env.
────
If this field is blank, this is not the MCB of an
environment.
If this field has one box '■' in it, it is an MCB
that controls an environment.
If this field has two boxes '■■' in it, it is the MCB
that controls the master environment. The master environment
is the environment of the current primary command
interpreter. This routine will fail if you load another
copy of COMMNAD with the /P (primary) switch. The Master
Environment is not shown in Easy mode.
Owner
─────
The name of the program that owns the MCB with the
following exceptions:
<DOS Shell> is the command interpreter, usually COMMAND.COM
<DOS Kernel> is MSDOS.SYS (or IBMDOS.COM)
<Free> is a free block
<N/A> means the name cannot be determined
Hooked Interrupts
─────────────────
This is a list of all the interrupts that point into
the area controlled by the MCB.
Command Line
────────────
The command line of the program as it was run.
This is taken from the PSP. The command line might not
be available because DOS also puts the default DTA
(Disk Transfer Area) in the same place.
Return Codes
────────────
These are numbers which can be detected by the DOS ERRORLEVEL
command. They return infomation about how the program ran.
In MM the return codes are as follows:
0 - The program run without any problems
255 - Wrong DOS Version
253 - MM was loaded high (with DOS 5+ LOADHIGH command)
To use these codes you make a batch file with a line as follows:
IF ERRORLEVEL == 253 THEN GOTO ERROR
This means that if a number of 253 OR GREATER has been returned
goto the label ERROR.
A sample batch file has been included with this program called
MMRUN.BAT
Notes
─────
This program is compressed with LZEXE v0.91
My CompuServe address is 100330,1701
<END>